﻿namespace Eneta.Portal.Forum.Core.Service.Builders
{
    public class GroupListBuilder : ListBuilder
    {
        // Methods
        public GroupListBuilder()
        {
            base.listName = "spsforums_groups";
        }

        public override void AddFields()
        {
        }

        public override void AddSampleData()
        {
            if (base.ListExists)
            {
                string[] values = new string[] { "Title", "Reader" };
                base.AddListValues(values);
                values[0] = "Title";
                values[1] = "Contributor";
                base.AddListValues(values);
                values[0] = "Title";
                values[1] = "Administrator";
                base.AddListValues(values);
            }
        }
    }
}
